﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Paginas_Logado/MasterPageLogado.Master" AutoEventWireup="true" CodeBehind="ClientePerfil.aspx.cs" Inherits="WEB_MechSysWeb.Paginas_Logado.ClientePerfil" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

    <style type="text/css">
        #divPagina {
            height: 1236px;
        }

        .auto-style6 {
            height: 21px;
        }

        .auto-style7 {
            width: 139px;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMaster" runat="server">
    <div id="divPagina">
        <div class="divTituloPerfilDados">
            <asp:Label ID="Label1" runat="server" Text="Olá, " Font-Size="Large" ForeColor="White"></asp:Label>
            <asp:Label ID="lblNomeClientePerfil" runat="server" Font-Size="Large" ForeColor="White"></asp:Label>
        </div>
        <asp:DataList ID="dtLstNoticias" runat="server" Width="628px">
            <FooterTemplate>
                <asp:LinkButton ID="lnkbtnAnterior" runat="server" OnClick="lnkbtnAnterior_Click" CssClass="linkAnterior" ForeColor="#414141">[&lt;&lt; Anterior]</asp:LinkButton>
                <asp:LinkButton ID="lnkbtnProximo" runat="server" OnClick="lnkbtnProximo_Click" CssClass="linkProximo" ForeColor="#414141">[Próximo &gt;&gt;]</asp:LinkButton>
            </FooterTemplate>
            <HeaderTemplate>
                <asp:LinkButton ID="lnkbtnAnterior" runat="server" OnClick="lnkbtnAnterior_Click" CssClass="linkAnterior" ForeColor="#414141">[&lt;&lt; Anterior]</asp:LinkButton>
                <asp:LinkButton ID="lnkbtnProximo" runat="server" OnClick="lnkbtnProximo_Click" CssClass="linkProximo" ForeColor="#414141">[Próximo &gt;&gt;]</asp:LinkButton>
                <br />
                <hr class="hrNoticia" />
            </HeaderTemplate>
            <ItemTemplate>
                <table style="width: 100%;">
                    <tr>
                        <td class="auto-style6" colspan="3">
                            <asp:Label ID="lblTitulo" runat="server" Font-Size="Large" ForeColor="Black"><%# Eval("Titulo") %></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style7">
                            <asp:ImageButton ID="imgNoticias" runat="server" Height="121px" Width="141px"
                                ImageUrl='<%# Eval("NoticiaID", "~/Paginas_Logado/NoticiaImagem.aspx?id={0}")%>'
                                PostBackUrl='<%# Eval("NoticiaID", "~/Paginas_Logado/NoticiaSelecionada.aspx?id={0}") %>' BorderColor="#CCCCCC" BorderStyle="Outset" BorderWidth="2px" />
                        </td>
                        <td colspan="2" valign="top">
                            <asp:Label ID="lblTexto" runat="server" ForeColor="Black"><%# Eval("Resumo") %></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style7">
                            <asp:Label ID="lblDataRegistro" runat="server" Font-Size="Medium" ForeColor="Black"><%# Eval("DataRegistro", "{0:d}") %></asp:Label>
                        </td>
                        <td>
                            <asp:LinkButton ID="lnkbtnLeia" runat="server" PostBackUrl='<%# Eval("NoticiaID", "~/Paginas_Logado/NoticiaSelecionada.aspx?id={0}") %>'>Leia mais...</asp:LinkButton>
                        </td>
                        <td>&nbsp;</td>
                    </tr>
                </table>
                <br />
                <hr class="hrNoticia" />
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Content>
